const batchStatusOptions = [
  {
    label: '待导出',
    value: 10
  },
  {
    label: '导出中',
    value: 20
  },
  {
    label: '待导入',
    value: 30
  },
  {
    label: '导入中',
    value: 40
  },
  {
    label: '待校验',
    value: 50
  },
  {
    label: '校验中',
    value: 55
  },
  {
    label: '待提交',
    value: 60
  },
  {
    label: '待审核',
    value: 70
  },
  {
    label: '审核成功',
    value: 80
  },
  {
    label: '审核驳回',
    value: 90
  },
]
const formItemList = [
  {
    label: '单据号',
    prop: 'batchNo',
    type: 'input',
  },
  {
    label: '提交部门',
    prop: 'departmentName',
    type: 'input'
  },
  {
    label: '单据状态',
    prop: 'batchStatus',
    type: 'select',
    multiple: true,
    options: batchStatusOptions,
  },
  {
    label: '制单时间',
    prop: 'createdAt',
    type: 'datePicker',
    datePickerType: 'datetimerange'
  },
  {
    label: '制单人',
    prop: 'createdUserName',
    type: 'input'
  },
  {
    label: '标题',
    prop: 'title',
    type: 'input'
  },
]
const tableColumns = [
  {
    title: '单据号',
    key: 'batchNo',
    width: '200'
  },
  {
    title: '制单人',
    key: 'createdUserName',
    width: '90'
  },
  {
    title: '制单时间',
    key: 'createdAt'
  },
  {
    title: '提交部门',
    key: 'departmentName'
  },
  {
    title: '所属区域',
    key: 'areaName'
  },
  {
    title: '单据状态',
    key: 'batchStatusName'
  },
  {
    title: '标题',
    key: 'title'
  },
]
export {
  formItemList,
  tableColumns
}
